package edu.isistan.microops;

import java.util.Vector;

/**
 * 
 * @author
 * Avellaneda, Juan Cruz
 * Burgos, Agust�n
 * Obregozo, Manuel
 * 
 * Esta clase pojo contiene la informacion pertinente a
 * un mapping en particular.
 */
public class Mapping {
	
	private String sourceType;
	private String targetType;
	private String sourceName;
	private String targetName;	
	private Vector<String> microops;
	
	public Mapping(String sourceType, String targetType, String sourceName,
			String targetName, Vector<String> microops) {
		super();
		this.sourceType = sourceType;
		this.targetType = targetType;
		this.sourceName = sourceName;
		this.targetName = targetName;
		this.microops = microops;
	}

	public String getSourceType() {
		return sourceType;
	}

	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}

	public String getTargetType() {
		return targetType;
	}

	public void setTargetType(String targetType) {
		this.targetType = targetType;
	}

	public String getSourceName() {
		return sourceName;
	}

	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public Vector<String> getMicroops() {
		return microops;
	}

	public void setMicroops(Vector<String> microops) {
		this.microops = microops;
	}
	
	public void addMicroop(String m){
		this.microops.add(m);
	}
	
}
